package com.game.battleship.db;

import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;

public class StagesTable {

	public static final String TABLE_NAME = "STAGES";
	public static final String STAGE_ID = "_ID";
	public static final String STAGE_MAP = "STAGE_MAP";
	
	private static final String CREATE_TABLE =
			"create table " + TABLE_NAME + "(" +
			STAGE_ID + " integer primary key autoincrement," +
			STAGE_MAP + " blob not null unique" +
					")";
	
	public static void onCreate(SQLiteDatabase db) throws SQLiteException {
		db.execSQL(CREATE_TABLE);
	}

}
